﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Security.Principal;
namespace WebServer
{
    public interface IHttpRequestHandler
    {
        void Get(HttpListenerRequest request, HttpListenerResponse response, IPrincipal user);
        void Post(HttpListenerRequest request, HttpListenerResponse response, IPrincipal user);
        void Put(HttpListenerRequest request, HttpListenerResponse response, IPrincipal user);
        void Delete(HttpListenerRequest request, HttpListenerResponse response, IPrincipal user);
    }
}